﻿using Prism.Ioc;
using Prism.Modularity;
using ResourceLocalization;
namespace DeResourceModule
{
    /// <summary>
    /// 德文资源模块
    /// </summary>
    [Prism.Modularity.Module(ModuleName = "ZhCnResourceModule")]
    [Prism.Modularity.ModuleDependency("CoreModule")]
    [Prism.Modularity.ModuleDependency("UIModule")]
    public class Module : IModule
    {
 
        public Module()
        {
          
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="containerProvider"></param>
        public void OnInitialized(IContainerProvider containerProvider)
        {

        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="containerRegistry"></param>
        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            ///注入 中文资源提供者
            containerRegistry.Register<IResourceProvider, ResourceProvider>();
        }
    }
}